package com.example.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 不愿透露姓名的狂热者
 * @version 1.0
 */
@Slf4j
@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping
    public String test() {
        log.info("[日志信息] com.example.controller.TestController.test()");
        return "hello linux! [already updated]";
    }
}
